<?php //header.php
include 'dbfunction.php';

session_start();

if(isset($_SESSION['user']))
{
	$user=$_SESSION['user'];
	$loggedin=TRUE;
}
else $loggedin=FALSE;

#if ($loggedin) echo "$user";

/* if($loggedin)
{
	echo "
	<a href='index.php'>Home</a>
	<a href='status.php'>Search</a>
	<a href='company.php'>Company</a>
	<a href='model.php'>Model</a>
	<a href='logout.php'>Log out</a>";
}
else
{
	echo "
	<a href='index.php'>Home</a>
	<a href='model.php'>Model</a>
	<a href='login.php'>Log In</a>";
} */
?>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>iple</title>
<link href="http://fonts.googleapis.com/css?family=Abel" rel="stylesheet" type="text/css" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery/jquery.gallerax-0.2.js"></script>
<style type="text/css">
@import "gallery.css";
</style>
</head>
<body>
<div id="wrapper">
	<div id="header-wrapper">
		<div id="header">
			<div id="menu1">
				<ul>
					<li class="current_page_item"><a href="index.php">Company</a></li>
					<li><a href="model.php">Model</a></li>
				</ul>
			</div>
			<div id="logo">
				<h1><a href="index.php">IPLE</a></h1>
				<p>Homepage design by <a href="http://www.freecsstemplates.org">KJH</a></p>
			</div>
			<div id="menu2">
				<ul>
					<li class="current_page_item"><a href="#">Patent</a></li>
					<li><a href="#">Contact Us</a></li>
				</ul>
			</div>
		</div>
		<!-- end #header --> 
	</div>


